package com.example.demo.bean.request;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

public class ReleaseRequest {

    @NotNull(message = "前端需传递用户ID")
    private Integer userID;//用户ID

    @NotBlank(message = "需填入至少一张图片")
    private String pictureSet;//动态图片集合

    @NotBlank(message = "需填入标签字段")
    private String label;//动态标签(给动态贴标签)

    @NotBlank(message = "需填入文本内容")
    private String content;//动态文本内容

    public ReleaseRequest() {
    }

    public Integer getUserID() {
        return userID;
    }

    public void setUserID(Integer userID) {
        this.userID = userID;
    }

    public String getPictureSet() {
        return pictureSet;
    }

    public void setPictureSet(String pictureSet) {
        this.pictureSet = pictureSet;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
